#!/usr/bin/env python
# -*- conding:utf-8 -*-
# __Author__:'liudong'
import pickle

"""
用户名，卡号，密码，# 信用卡额度，# 本月可用额度，# 储蓄金额， # 注册时间，#过期时间
# 0=normal,1=locked,2=disabled，# 欠款记录，如:[{'date':"2015_4_10","total}]
"""
# user_base_info = {'rain': ["6222022fdsfsdf","123",15000,15000,0,"2016-01-01","2021-01-01",0]}
# user_file = open('..\\db\\user.db', 'ab')
# pickle.dump(user_base_info, user_file)
# user_file.close()

read_file = open('..\\db\\user.db','rb')
aaa = pickle.load(read_file)
print(aaa)
read_file.close()
